package com.jx.dome1;

public class Student {
    private String name;
    private String gender;
    private int age;
    private double score;
    private static String classRoom = "Bit303";

//    一般来说类中的数据成员都设置为private,而成员方法设置为public,设置后类中的classRoom属性怎么类外访问呢?

//    get的方法
    public static String getClassRoom() {
        return classRoom;
    }z'z
zz  public static void main(String[] args) {

    }
}
